package com.example.mybatis.mapper;

import com.example.mybatis.domain.Book;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

public interface BookMapper {
    public List<Book> selectAll();
    public List<Book> getByName(String name);
    public int addBook(Book book);
    public int delBook(Integer id);
    public int updateBook(Book book);
}
